import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';


import { LayoutComponent } from '../layout/layout.component';
import { Exception403Component } from '../exception/403.component';
import { Exception404Component } from '../exception/404.component';
import { Exception500Component } from '../exception/500.component';

const routes: Routes = [
  {
    path: '',
    component: LayoutComponent,
    children: [

    ]
  },
  { path: '403', component: Exception403Component },
  { path: '404', component: Exception404Component },
  { path: '500', component: Exception500Component },
  /*{ path: '**', redirectTo: 'dashboard' }*/
];

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule]
})
export class RouteRoutingModule { }
